﻿@model List<HNCSolutions.Models.Banner>
<div id="slider">
    <!-- start slideshow -->
    <div id="slideshow">
        @foreach (var banner in Model)
        {
            <div class="slider-item">
                <a href="@Url.Action(banner.Action, banner.Controller)">
                    <img src="@banner.ImagePath" alt="" width="960" height="341"
                                border="0" /></a></div>
        }
    </div>
    <!-- end #slideshow -->
    <div class="controls-center">
        <div id="slider_controls">
            <ul id="slider_nav">
                @foreach (var banner in Model)
                {
                    <li><a href="@Url.Action(banner.Action, banner.Controller)"></a></li>
                }
            </ul>
        </div>
    </div>
</div>
<div class="clr">
</div>
